@dotsWidth: 8px;

.slider-wrapper {
  position: relative;
  overflow: hidden;
  height: 100%;
  .slider {
    width: 100%;
    height: 100%;
    .slider-group {
      position: relative;
      overflow: hidden;
      white-space: nowrap;
      .slider-item {
        float: left;
        box-sizing: border-box;
        & img {
          width: 100%;
          border-radius: 5px;
        }
      }
    }
  }
  .dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    background-color: transparent;
    .dots-item {
      margin-right: 5px;
      width: @dotsWidth;
      height: @dotsWidth;
      border-radius: 50%;
      background-color: rgba(0, 0, 0, 0.2);
      &.active {
        background-color: rgba(255, 58, 58, 1);
      }
    }
  }
}


.icon-wrapper, .recommend-wrapper {
  .children-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    .text {
      display: inline-block;
      margin-top: 5px;
      width: 100%;
      white-space:normal;
      // text-overflow: ellipsis;
      // overflow: hidden;
      // word-break: break-all;
    }
  }
  .children-item.margin {
    margin-left: 10px;
    &:nth-child(1) {
      margin-left: 0;
    }
  }

}